<#import "PageTemplate.ftl" as p> 

<@p.page>
<div class="page-header">
  <h1>Interfaces</h1>
  <p class="lead">Engine list of registered Task Interfaces and Event Interfaces.</p>
</div>  

<div class="page-header">
  <h2>Task Interfaces</h2>
  <p class="lead">Task Interfaces allow Workers to interact with and solve Tasks and Assignments.</p>
</div>

<div class="list-group">
<#if taskInterfaces?size != 0>
	<#list taskInterfaces as taskInterface>
	<a href="/interface/${taskInterface.shortUri}" class="list-group-item"><#if taskInterface.label??>${taskInterface.label?html}<#else>${taskInterface.shortUri?html}</#if></a>
	</#list>
</#if>
</div>

<div class="page-header">
  <h2>Event Interfaces</h2>
  <p class="lead">Event Interfaces allow the Engine to wait and receive notifications/events from external sources of data.</p>
</div>

<div class="list-group">
<#if eventInterfaces?size != 0>
	<#list eventInterfaces as eventInterface>
	<a href="/interface/${eventInterface.shortUri}" class="list-group-item"><#if eventInterface.label??>${eventInterface.label?html}<#else>${eventInterface.shortUri?html}</#if></a>
	</#list>
</#if>
</div>

</@p.page>